package com.atguigu.utils;

/**
 * POJO Class
 * 1.必须是共有类
 * 2.所有字段必须是共有字段
 * 3.必须有空构造器
 * */
public class ClickEvent {

    public String username;
    public String url;
    public Long ts;

    public ClickEvent() {
    }

    public ClickEvent(String username, String url, Long ts) {
        this.username = username;
        this.url = url;
        this.ts = ts;
    }

    @Override
    public String toString() {
        return "ClickEvent{" +
                "username='" + username + '\'' +
                ", url='" + url + '\'' +
                ", ts=" + ts +
                '}';
    }
}
